package com.lzl.service;

import com.lzl.dto.DriverUser;
import com.lzl.remote.DriverUserClient;
import com.lzl.responese.ResponseResult;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * //TODO
 *
 * @author zhaolinlin
 * @description //TODO
 * @createTime 2022/9/1 14:39
 */
@Service
public class DriverUserService {

    @Autowired
    DriverUserClient driverUserClient;

  public ResponseResult addDriverUser(DriverUser driverUser){
      return driverUserClient.addDriverUser(driverUser);
  }

  public ResponseResult updateDriverUser(DriverUser driverUser){
      return driverUserClient.updateDriverUser(driverUser);
  }
}
